﻿<Window x:Class="ZOIL.DataBackend.Server.AddUserDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Add New User" Width="250" Height="150">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20"></RowDefinition>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="25"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"></ColumnDefinition>
            <ColumnDefinition Width="100"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.ColumnSpan="2">New User:</TextBlock>
        <TextBlock Grid.Row="1" VerticalAlignment="Center">Username:</TextBlock>
        <TextBox x:Name="txtUser" Grid.Row="1" Grid.Column="1" Height="20"></TextBox>
        <TextBlock Grid.Row="2" VerticalAlignment="Center">Password:</TextBlock>
        <TextBox x:Name="txtPass" Grid.Row="2" Grid.Column="1" Height="20"></TextBox>
        <StackPanel Grid.Row="3" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Width="75" Margin="0,0,10,0" x:Name="btnAddUser" Click="btnAddUser_Click">Add User</Button>
            <Button Width="75" Margin="10,0,0,0" x:Name="btnCancel" Click="btnCancel_Click">Cancel</Button>
        </StackPanel>
    </Grid>
</Window>
